Prefer ptrdiff_t to int and avoid integer overflows.
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 16 Sep 2014 04:07:51 +0000 (08:07 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 16 Sep 2014 04:07:51 +0000 (08:07 +0400)
commita8ac139e2f080b8d894602455114b47dd5a9501f
tree8c29ebeec5a41736b4c67d3d76e4b1db86600daf
parent9c05c0f41a04a8683988345580d39ac3c64a8688
Prefer ptrdiff_t to int and avoid integer overflows.
* fileio.c (make_temp_name):
* font.c (font_parse_family_registry): Avoid integer
overflow on string size calculation.
* data.c (Faset): Likewise for byte index.
src/ChangeLog
src/data.c
src/fileio.c
src/font.c